﻿@model SGC_CarteraClientes.Models.CA_PARAMETRO_CAMPANIA

@{
    ViewBag.Title = "Create";
}

<h2>Nuevo Registro</h2>
<hr />
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Datos de Campaña</legend>

        <div class="editor-label">
           @Html.Label("Descripción")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PARAM_DES, new { @size = "40" } )
            @Html.ValidationMessageFor(model => model.PARAM_DES)
        </div>

        <div class="editor-label">
@Html.Label("[%] Descuento Máximo")        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PARAM_DCTOMAX, new { @size = "5", @class="qt"})
            @Html.ValidationMessageFor(model => model.PARAM_DCTOMAX)
        </div>

        <div class="editor-label">
@Html.Label("[%] Descuento Mínimo")        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PARAM_DCTOMIN,new { @size = "5", @class="qt"})
            @Html.ValidationMessageFor(model => model.PARAM_DCTOMIN)
        </div>

        <div class="editor-label">
@Html.Label("[%] Comisión")        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PARAM_COMISION,new { @size = "5", @class="qt"})
            @Html.ValidationMessageFor(model => model.PARAM_COMISION)
        </div>

        <div class="editor-label" >
            @Html.Label("Mínimo de días de Vigencia")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PARAM_VIGENCIA,new { @size = "7", @class="qt"}))
            @Html.ValidationMessageFor(model => model.PARAM_VIGENCIA)
        </div>


        <p>
            <input type="submit" value="Grabar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Cancelar", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
